package br.ufrn.btest;

import br.ufrn.btest.decorators.predicates.MyPredicate;

public class Characteristic {

	
	private MyPredicate predicate;
	private CharacteristicType type;

	
	
	public Characteristic(MyPredicate predicate, CharacteristicType type) {
		this.predicate = predicate;
		this.type = type;
	}

	
	
	public MyPredicate getPredicate() {
		return this.predicate;
	}
	
	
	
	public CharacteristicType getType() {
		return this.type;
	}
	
	
	
	@Override
	public String toString() {
		return this.predicate.toString();
	}
}
